package Test;

import java.util.Arrays;

public class test1 {
    public static void main(String[] args) {
        MyArray<String> myArray = new MyArray<>();
        myArray.set(0, "hello");

        String str = myArray.get(0);
        System.out.println(str);
        System.out.println("******************");
        Object[] ret=myArray.getArray();
        System.out.println(Arrays.toString(ret));
    }
}
